﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Xiezl.Common.Data
{
    /// <summary>
    /// 产品类型
    /// </summary>
    public class ProductCategory : IEntity<Guid>
    {
        public Guid Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }

        public ProductCategory()
        {
            this.Products = new List<Product>();
        }

        /// <summary>
        /// 产品列表
        /// </summary>
        public virtual IList<Product> Products { get; set; }
    }
}
